package Framework;

import java.util.HashMap;
import java.util.Map;

/**
 * @author gao
 * @date 2025/11/2 20:47
 */

public class Demo4 {
    public static void main(String[] args) {
        Map<Integer, String> map = new HashMap<>();
        map.put(1, "hello");
        map.put(2, "Java");
        map.put(3, "lambda");

        map.forEach((k, v) -> System.out.println(k + "=" + v));

    }
}